package com.java.simple.smallspring.beans.factory.support;

import com.java.simple.smallspring.beans.BeansException;
import com.java.simple.smallspring.beans.factory.config.BeanDefinition;
import java.lang.reflect.Constructor;

/**
 * @author zhoujunlin
 * @date 2022年08月19日 11:31
 * @desc
 */
public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor constructor, Object[] args) throws BeansException;

}
